#!/bin/bash
TOPDIR=`pwd`
for tmp in . config/smtk/ config/mtk/arch config/sath/ config/ath/arch project/agent project/client project/gather project/land  project/network project/forward project/modem project/uart project/vpn project/wui project/ipsec project/openvpnc project/openvpns project/ha project/upnp project/gnss project/portal mtk smtk ath sath smtk/Uboot tools/fpktools
do
    if [ -d ${TOPDIR}/${tmp} ]; then
        echo "update the ${tmp}"
        cd ${TOPDIR}/${tmp};git pull
    fi
done


